.class Lcom/baidu/aq;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Z

.field final synthetic b:Lcom/baidu/AppActivity;


# direct methods
.method constructor <init>(Lcom/baidu/AppActivity;Z)V
    .locals 0

    iput-object p1, p0, Lcom/baidu/aq;->b:Lcom/baidu/AppActivity;

    iput-boolean p2, p0, Lcom/baidu/aq;->a:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 1

    iget-boolean v0, p0, Lcom/baidu/aq;->a:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/baidu/aq;->b:Lcom/baidu/AppActivity;

    invoke-static {v0}, Lcom/baidu/AppActivity;->n(Lcom/baidu/AppActivity;)Landroid/app/ProgressDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/baidu/aq;->b:Lcom/baidu/AppActivity;

    invoke-static {v0}, Lcom/baidu/AppActivity;->n(Lcom/baidu/AppActivity;)Landroid/app/ProgressDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    goto :goto_0
.end method
